USE [ERP]
GO

/****** Object:  Table [dbo].[EmployeeHealthInfo]    Script Date: 11/16/2009 14:31:30 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[EmployeeHealthInfo](
	[EmployeeID] [nvarchar](50) NOT NULL,
	[BloodType] [int] NULL,
	[ChronicDiseases] [bit] NULL,
	[Diseases] [nvarchar](max) NULL,
	[Notes] [nvarchar](50) NULL,
 CONSTRAINT [PK_EmployeeHealthInfo] PRIMARY KEY CLUSTERED 
(
	[EmployeeID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[EmployeeHealthInfo]  WITH CHECK ADD  CONSTRAINT [FK_EmployeeHealthInfo_Employees] FOREIGN KEY([EmployeeID])
REFERENCES [dbo].[Employees] ([ID])
GO

ALTER TABLE [dbo].[EmployeeHealthInfo] CHECK CONSTRAINT [FK_EmployeeHealthInfo_Employees]
GO

